<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2048游戏</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <h1>2048</h1>
        <div class="score-board">
            <div class="score">得分: <span>0</span></div>
            <div class="best-score">最高分: <span>0</span></div>
        </div>
        
        <div class="game-board" id="gameBoard">
            <!-- 游戏面板将由JavaScript生成 -->
        </div>
        
        <div class="game-info">
            <p>使用方向键或滑动来移动方块</p>
            <p>合并数字，获得 <strong>2048方块！</strong></p>
        </div>
        
        <button id="newGameBtn">新游戏</button>
    </div>

    <script src="script.js"></script>
</body>
</html>